Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CodeStyle][Ruff][BUAA][E-1,K-11] Fix Ruff RUF017 and RUF019 diagnostic for 2 files in python/paddle/distributed/auto_parallel/static/ and test/xpu/ #67185

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

Jeff114514
Copy link
Contributor

PR Category

User Experience

PR Types

Devs

Description

修复如下文件 RUF017 的 Ruff 规则:

  • python/paddle/distributed/auto_parallel/static/reshard.py
    修复如下文件 RUF019 的 Ruff 规则:
  • test/xpu/op_test_xpu.py

Related links

@gouzil

Copy link

paddle-bot bot commented Aug 8, 2024

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@luotao1 luotao1 added contributor External developers HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 labels Aug 8, 2024
@SigureMo SigureMo changed the title [CodeStyle][Ruff][BUAA][E-1,K-11] Fix Ruff RUFF017 RUF019 diagnostic for 2 files in python/paddle/distributed/auto_parallel/static/ and test/xpu/ [CodeStyle][Ruff][BUAA][E-1,K-11] Fix Ruff RUF017 and RUF019 diagnostic for 2 files in python/paddle/distributed/auto_parallel/static/ and test/xpu/ Aug 8, 2024
Copy link
Member

@SigureMo SigureMo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTMeow 🐾

@SigureMo SigureMo merged commit ac9245f into PaddlePaddle:develop Aug 8, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants